import request from "@/common/request"

//假期类型分页展示
export const holidaytypePage = (queryForm) => {
    return request("get", "/oa/holidayType/page", queryForm);
}
//假期类型列表展示
export const holidaytypeList = (queryForm) => {
    return request("get", "/oa/holidayType/list", queryForm);
}
//假期类型详情
export const holidaytypeInfo = (id) => {
    return request('get', '/oa/holidayType/info', {
        id: id
    })
}
//假期类型信息保存
export const holidaytypeSave = (data) => {
    return request('post', '/oa/holidayType/save', data)
}
//假期类型信息修改
export const holidaytypeEdit = (data) => {
    return request('post', '/oa/holidayType/edit', data)
}
//假期类型信息删除
export const holidaytypeDel = (id) => {
    return request('post', '/oa/holidayType/delete?id=' + id)
}
//假期类型批量删除
export const holidaytypeDelBatch = (ids) => {
    return request('post', '/oa/holidayType/deleteBatch', ids)
}
//假期类型动态表头导出
export const holidaytypeDynamicExport = (data) => {
    return request("eptpost", '/oa/holidayType/exportDynamic', data)
}
